<template>
  <p class="title">{{ titleValue }}</p>
  <p class="bg"></p>
  <slot></slot>
</template>

<script lang="ts" setup name="ScreenTitle">
const titleValue = defineModel('titleValue')
</script>

<style scoped>
* {
  font-size: 18px;
}
.bg {
  width: 68px;
  height: 7px;
  background: url(../../views/screen/images/dataScreen-title.png) no-repeat;
  background-size: 100%, 100%;
  margin-top: 10px;
}
</style>
